package com.zen.lon.open.remote.annotation;

import com.zen.lon.open.remote.support.RemoteClientRegistrar;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

/**
 * 开启RemoteClient注册处理实现
 *
 * @author ZonLen since on 2021/6/29 下午7:49
 */

@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({RemoteClientRegistrar.class})
public @interface EnableRemoteClient {

  /**
   * 用逗号分割
   */
  String[] basePackages() default {"${remote.client.scanner.packages:}"};

}
